
export function splitParams(url:string){
    const params = url.split('?')
    params.shift()
    const paramMap:{[id:string]:string} = {}
    params.forEach(param =>{
        console.log(param);
        const kv = param.split('=')
        paramMap[kv[0]] = kv[1]
    })

    return paramMap
}